<?php
	if( ! isset($header)) $header =array('title'=>'D-app');
$this->load->view("{$template}/header",$header);
?>
<div id='page'>
  
										<?php echo $content; ?>
	
</div>
<?php 
$this->load->view("{$template}/footer");
 ?>